package com.example.base.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.system.domain.SysUserOpen;
import com.example.base.system.domain.vo.SysUserOpenVo;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2024-04-11
 */
public interface SysUserOpenService extends IService<SysUserOpen> {

    public SysUserOpen saveSysUserOpen(SysUserOpen sysuseropen) throws GlobalExcetion;

    public SysUserOpen updateSysUserOpenById(SysUserOpen sysuseropen) throws GlobalExcetion;

    public SysUserOpen saveOrUpdateSysUserOpen(SysUserOpenVo sysuseropenVo) throws GlobalExcetion;

    public IPage<SysUserOpen> page(Integer page, Integer pageSize) throws GlobalExcetion;

    public SysUserOpen getSysUserOpenByUserName(String userName);

    public SysUserOpen getSysUserOpenByMail(String mail);

    public SysUserOpen getSysUserOpenByPhone(String phone);


}
